package com.bjx.flow.mmx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bjx.flow.mmx.domain.entity.MmxFlowInstanceEntity;
import com.bjx.flow.mmx.mapper.MmxFlowInstanceMapper;
import com.bjx.flow.mmx.service.MmxFlowInstanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @desc: 流程实例服务实现
 * @author: liushuai
 * @date: 2023/05/22
 */
@Service
public class MmxFlowInstanceServiceImpl extends ServiceImpl<MmxFlowInstanceMapper, MmxFlowInstanceEntity> implements MmxFlowInstanceService {
    @Autowired
    private MmxFlowInstanceMapper mmxFlowInstanceMapper;


    @Override
    public MmxFlowInstanceEntity insertFlowInstance(MmxFlowInstanceEntity flowInstanceEntity) {
        this.save(flowInstanceEntity);
        return flowInstanceEntity;
    }
}
